package com.yunhe.java.Day11;

/**
 * Created by Administrator on 2017/8/4 0004.
 */
public class Person {
    private String name;
    private  int age;
    private  double wages;
    public Person(){}
    public Person(String name){
        this.name=name;
    }
    public int getAge() {
        return age;
    }

    public double getWages() {
        return wages;
    }
    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", wages=" + wages +
                '}';
    }
    public Person(String name, int age, double wages){
                this.name=name;
                this.age=age;
                this.wages=wages;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
